orginizing code