Restructured styling method

Signed-off-by: Aniket Pant <me@aniketpant.com>