some more tests and pull out method