finished implementation of achievements