adds backward compatibility