A baseball player practices his swing before stepping up to bat