first commit for seperate algorithms