What are the working states of photocells