Added enum for initializtion