8hours of coding. Now its done