added code written during meetup