fixed lesson so that it works with ios :D