return null in functions so code compiles