finished deconstruction with function params