added change functionality
 version 1