Fixed formatting
Remvoed tests
Added define and prune method