reworked to not use parent..