ext: replaced hardcoded values with enum
ext: comment out unused funcions