Added new interrupt handeling and helper functions...work in progress