re-add deprecated method to enable backward compatibility