created proper pbs class
interface to set attributes