<--- Brains of the operation