Log function was lower case instead of upper case