added scale limits