Researchers at Singapore's Nanyang Technological University (NTU) have been working on ways to make towns and cities more sustainable by taking waste from housing and turning it into energy.

The team created a new type of toilet system which turns human waste into biogas - which can be used for cooking and generating electricity - and biodiesel.

Spencer Kelly finds out more.

Keep up to date with all the latest gadgets and tech news via BBC Click's website and if you are in the UK you can see the whole programme on BBC iPlayer.

Find out more about Singapore on the BBC Singapore Direct's website.