adding register functionality