Actually pass landmark variable in function