new way of service initalizing