adding some more code styles, removed redirect