added custom parent extension in decorator