fixed errors in devnotes, working on functions