changed if condition..