Dreclaring consts at the top and also more accurate outputs