changing order of methods for readability

Signed-off-by: Mikolaj Szabo <savingprivateblue@gmail.com>