Adding layout implementation