make up methods for comlette model and write tests