made context menu child creation easier and neater