removed portable def