got assignment working