removed math that is not needed, optomized camera