working 'apa' and 'lib'