How can I use multiple conditions to show different parts? Last condition over riding others.