add conditionals

Signed-off-by: Andrew <a@0x41.co>