handling "src" as Object