First version of WINGS code