define a second function