updated prototype for redux