got working if else blocks, but only done some basic implementations