All functions now implemented! (of course they're not all correct…)