changes to method skeleton