Tried  helper methods but it didn't work so reverted back to previous state.