made it compilable again
removed not needed methods