adding some files and fixing things in agree