tmp: adding if