the code is working, but it is incompleted