Sub1 Dinaveckar Functionality

Please check it once let me know...
latest code code
latest