Added decorator to parse input in order to shrink a function