First step of server