silly mistake (. instead of ->)