Second Edit with errors in some functions