added functionality to perform, integrated into backbone.js