inside if print