function calling almost done... code compiles.