Partial if statement implementation (currently broken)