enhance for setContentView