console log for testing was removed, because I couldnt make it work