got rid of swiping init code