added opts to at method