Basic do_constellation() function writen