fixed scheduler and started work on interface