code note taken from Dan Cederholm's book on SASS