added beginning and end tiles