add tile to pixel funcitons