oops replaced alias by enum