gotted react props to work
cleaned it up a bit