add alignment and basic ops