added c++11 support; added enum for A5 group [2]