left error handling commented our for debug purposes