finally working saved classes