working with PTAMM. To do: modify HEIGHT and WIDTH