Removed magic number in layout