change two method to override methods