Add logic class