use bool, add casts for first quarter files