added interface for acquiring an image