Implemented initial version of separation