added proptypes