#58 get rid of obsolete variable assignments
#58 verify that feature list is not empty when generating the features
#58 remove white line