To complete 2 methods implementation