Removed unnecessary // Delete localState-parts