Encashment functionality, bugs fixed