accept int in enabled variable