main block working
added stubs