missing the tripple eq for checking the src.length property