updated API.render & added API.find