Started developing algorithm