start thinking about algorithm