Added camera function.