adds the desired functionality