updating instructions and unit testing