Phase setting funcs

Signed-off-by: sndnvaps <sndnvaps@gmail.com>