created random methods to handle tapping