addressed warnings emitted on compile (that weren't visible in ghci)