adding pressed state