Simplyfing function params