finished coding part i hope