added stlying to register