add param and code to get parent item is needed