some edits to apply arguments utility function
trying smth