tested the dimension and ensure correct