add broken create and edit functionality