now compiled for 7 digits