make view litle bit more flexible