finished letter boxing functions