copleted core code, but no working :disappointed: