Added simple scheduler