adding skeleton for the alogrithms