quick fix??? for functpointer errror??