removed layout parameter because it is not used.