removed unused functions
added build for all problems