Solved the first bug!