working on if tags