Device science