fixed typo, you can't use a function in a property definition