Added camera function to core