added basic round logic