getting desired results but they are ugly