removed hard-coded id values with callbacks and parameters