ok, now things compile and some even work