Updated code syntax