Edited for syntax regarding rendering directive