An gnored mistake.

Signed-off-by: Arpit Goyal <agmps17@gmail.com>
Making function general so that can be used by any inline form

Signed-off-by: Arpit Goyal <agmps17@gmail.com>
Editing the layout, maintaining the uniformity.