fixes
compiles with all functionality