Seems to implement all required functions, no crashes!