worked on algorithm