status method created with tests