(23/24) finished digitPressed functionality