adding length and find methods