added class to pressed