coding challenge for Twice