Camera class work fine