Implemented filter function - Fixes #5