Edited the code. Up to Seven minutes and ten seconds