added if due to always calling this part