added round functionality