added $approved instance variable