working version of skyline