Added function parameter inheritence