cleaned up algo page