Code seems to work, needs som clenaing up and special features (VIP etc)