required methods added.