subject functional added

"todo" is in main method