edit costelement not finished yet