Got basic baeysian working for single company