implement camera function