declare service in vanilla