Implemented all interface methods. Watch out for null-pointers!!