Basic working implementation
refactoring
Test for method positioning