Implemeted some methods