rendering changes and addition of api