added camera acquisition and release