updated for higher resolution