* added stretching code