added roberto's function
added roberto's function

CMPUT659T4/cmput659_project,CMPUT659T4/cmput659_project,CMPUT659T4/cmput659_project,CMPUT659T4/cmput659_project,CMPUT659T4/cmput659_project,CMPUT659T4/cmput659_project