removing unused layout method