inital code, not working