finished update steps
writing up functions
finished MAP implementation
added
another commit