Added camera function