Trying to get while look working