changing conditional statement and adding Object.size prototype function