fixed npm start command
changed render function to accept an object vs a series of arguments for better flexibility.