work on padding, remove unnecessary elements