scope weight removed
unused method removed
checking for null values