working on autencoder