almost finished need pass counter working.
finished with all of the code