implemented stat modal, #14