added manu functionallity; definately needs cleaning up.