first attempt at slip problem